import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import router from './router'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import pinia from './store'
import './permission'






const app = createApp(App)
//全局注册图标
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}
//安装仓库
app.use(pinia)
//路由挂载
app.use(router)
app.mount('#app')
